<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <section class="panel">
          <header class="panel-heading">
            资产办理
          </header>
          <div class="panel-body">
            <!-- <img class="atimg" src="img/1.jpeg" alt=""> -->
            <div class="bio-row">
              <p>
                <span>归属公司 </span>{{companyCode}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>资产名称 </span>{{assetName}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>资产编号 </span>{{assetId}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>硬件编号 </span>{{snNo}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>归属项目编号 </span>{{proNo}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>资产类目 </span>{{assetStyle1}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>当前状态 </span>{{status}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>放置地点 </span>{{address}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>归属者 </span>{{owerName}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>来源方式 </span>{{asource}}</p>
            </div>
            <div class="bio-row">
              <p>
                <span>购买金额 </span>￥{{purchasePrice}}元</p>
            </div>
            <div class="bio-row">
              <p>
                <span>购买时间 </span>{{purchaseTime}}</p>
            </div>
            <div class="bio-row line-row">
              <p>资产描述</p>
              <p>{{assetProfile}}</p>
            </div>
            <div class="bio-row line-row">
              <p>备注</p>
              <p>{{comments}}</p>
            </div>


            <input type="hidden" value="{{assetStatus}}" ng-model="assetStatus" />
            <input type="hidden" value="{{id}}" id="asId" />
            <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
            <p class="default-buttons" ng-if="isCrud">
              <a href="javascript:void(0);" class="button-back btn btn-warning btn-l10" onclick="whAsset()">维修资产</a>
              <a href="javascript:void(0);" class="button-back btn btn-primary btn-l10" onclick="bfAsset()">报废资产</a>
              <a href="javascript:void(0);" class="button-back  btn btn-danger btn-l10" onclick="tyAsset()">停用资产</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info btn-l10" onclick="showbox();">转移资产</a>
              <a href="javascript:void(0);" class="button-next btn btn-success" onclick="qyAsset()">启用资产</a>

            </p>
          </div>
        </section>
        <section class="panel hidebox" style="display: none;">
          <header class="panel-heading">
            指定项目
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">归属类型</label>
              <div class="col-sm-10">
                <select class="form-control" onchange="changeast()" id="gsType">
                  <option value="0" selected>个人</option>
                  <option value="1">项目</option>
                  <option value="2">库存</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm" ng-show="showGsxm" id="gsPro">
              <label class="col-sm-2 control-label">归属项目*</label>
              <div class="col-sm-10">
                <input type="text" id="proName" name="proName" class="form-control">
                <input type="hidden" value="" name="proId" id="proId" />
                <span class="help-block">备注：资产只能转移给已立项的项目</span>
              </div>
            </div>
            <div class="form-group customerForm" ng-show="showGsr" id="gsPeo">
              <label class="col-sm-2 control-label">归属人*</label>
              <div class="col-sm-10">
                <input type="text" id="autocomplete" class="form-control">
                <input type="hidden" value="" name="userId" id="userId" />
              </div>
            </div>
            <div class="form-group customerForm" ng-show="showKc" id="gsKc">
              <label class="col-sm-2 control-label">资产管理员*</label>
              <div class="col-sm-10">
                <select id="userId1" class="form-control">
                  <option value="">请选择</option>
                  <option ng-repeat="x in zcUsers" value="{{x.user_id}}">{{x.user_name}}</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">说明</label>
              <div class="col-sm-10">
                <textarea class="form-control" id="mdesc" maxlength="120" placeholder="字数长度限制(120字以内)"></textarea>
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hidebox();">取消</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="cgAsset()">确认</a>
            </p>
          </div>
        </section>
        <section class="panel">
          <header class="panel-heading">
            资产记录
          </header>
          <div class="panel-body">
            <div id="astlogContainer" class="dlshouwen-grid-container"></div>
            <div id="astlogToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
          </div>
        </section>
      </div>
    </div>
  </section>
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script src="js/adms/assets.js"></script>